﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using BTGISWASECO.DataLayer;
using BTGISWASECO.BusinessEntities;


/// <summary>
/// Summary description for HamVanBLL
/// </summary>
/// 
namespace BTGISWASECO.BusinessLayer
{
    public class HamVanBLL
    {
        HamVanDAL dal = new HamVanDAL();
        public static List<HamVanEntities> GetList()
        {
            return HamVanDAL.GetList();
        }

        public static List<HamVanEntities> GetListByName(string keyword)
        {
            return HamVanDAL.GetListByName(keyword);
        }

        //public bool InsertHamVanEntities bk)
        //{
        //    return dal.Insert(bk);
        //}

        //public bool UpdateHamVanEntities bk)
        //{
        //    return dal.Update(bk);
        //}

        //public bool DeleteHamVanEntities bk)
        //{
        //    return dal.Delete(bk);
        //}

        public HamVanEntities GetHamVanEntitiesByID()
        {
            return dal.GetHamVanEntitiesByID();
        }
        public HamVanBLL()
        {
            //
            // TODO: Add constructor logic here
            //
        }
    }
}